export type ActData = {
  id: string | number
  isRelease: boolean
  activityTitle: string //活动标题
  activityRulesImg: string //活动规则图片
  backgroundImg: string //活动背景
  shareImg: string //分享图片
  startTime: any //开始时间
  endTime: any //结束时间
  isDisorder: boolean //是否乱序
  timeRangeTemp: any[]
  questionPoint: number //没提积分
  questionList: QuesionItem[]
}

export type QuesionItem = {
  sort: number //排序
  questionType: 0 | 1 | 2 //0 单选 1 多选 2 判断
  perfected: boolean
  question: string //问题
  optionList: OptionItem[]
}

export type OptionItem = {
  optionDesc: string
  isCorrect: boolean
  sort: number //排序
}

export type AnswerItem = {
  question: string
  questionType: number
  isCorrect: boolean
  optionList: AnswerOptionItem[]
}

export type AnswerOptionItem = {
  isCorrect: boolean
  isUserOption: boolean
  optionDesc: string
}
